package com.tb.service.impl;

import com.tb.mapper.TitleMapper;
import com.tb.pojo.Title;
import com.tb.service.AllService;
import com.tb.service.TitleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TitleServiceImpl extends AllService implements TitleService {

    @Autowired
    private TitleMapper tm;


    @Override
    public List<Title> findAll() {
        return tm.findAll();
    }
}
